<?php
session_start();
require_once("./include/membersite_config.php");
if($_SESSION['cur_href'] != $fgmembersite->GetSelfScript())
{
	$_SESSION['pre_href'] = $_SESSION['cur_href'];
	$_SESSION['cur_href'] = $fgmembersite->GetSelfScript();
}
?>
<?PHP
if($fgmembersite->ToggleLanguage())
{
	$fgmembersite->RedirectToURL($_SESSION['pre_href']);   
}
?>
